package com.hoopeu.ui.activity;

import java.util.ArrayList;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.Window;
import android.widget.ListView;
import android.widget.TextView;

import com.hoopeu.app.MyApp;
import com.hoopeu.smarthome.R;
import com.hoopeu.ui.adapter.MaskAdapter;



//yikexiyou     laq52dbq
public class MaskActivity extends Activity	
{
  private Context mContext;
  ArrayList<String[]> data;
  String deviceId;


  public void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    requestWindowFeature(Window.FEATURE_NO_TITLE);
    mContext = this;
    setContentView(R.layout.mask);
   
    MyApp.app.addActivity(this);
    
    this.deviceId = getIntent().getStringExtra("deviceId");

    ((TextView)findViewById(R.id.title)).setText(getResources().getString(R.string.mubu));
    ((TextView)findViewById(R.id.tvHomeName)).setText(getIntent().getStringExtra("roomName"));
   
    ListView localListView = (ListView)findViewById(R.id.list_view);
    localListView.setDividerHeight(0);
    localListView.setAdapter(new MaskAdapter(mContext));
   
   
  }
}